package com.jwcao.common.cast.benchmark;

import com.jwcao.common.cast.annotation.CastObject;
import java.util.concurrent.atomic.AtomicBoolean;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * name: A description: TODO
 *
 * @author caojingwei date: 2023/3/25 18:49
 */
@CastObject(B.class)
@Builder
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class A {

    private String id;
    private String name;
    private String value;

    public B toB() {
        return new B(id, name, value);
    }
}
